package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.Mobile;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class WxRegisterForm extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @Length(max = 32)
    protected String broker_key;
    @NotBlank
    @Length(max = 32)
    protected String open_id;
    
    @NotBlank
    @Length(max = 40,message = "昵称长度不正确或者有表情")
    protected String nick_name;
    
    protected String user_avatar;
    
    @Mobile
    @NotBlank
    protected String mobile_tel;
    @NotBlank
    protected String auth_check_code;
    
    public String getOpen_id() {
        return open_id;
    }
    
    public void setOpen_id(String open_id) {
        this.open_id = open_id;
    }
    
    public String getNick_name() {
        return nick_name;
    }
    
    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }
    
    public String getUser_avatar() {
        return user_avatar;
    }
    
    public void setUser_avatar(String user_avatar) {
        this.user_avatar = user_avatar;
    }
    
    public String getMobile_tel() {
        return mobile_tel;
    }
    
    public void setMobile_tel(String mobile_tel) {
        this.mobile_tel = mobile_tel;
    }
    
    public String getAuth_check_code() {
        return auth_check_code;
    }
    
    public void setAuth_check_code(String auth_check_code) {
        this.auth_check_code = auth_check_code;
    }
    
    public String getBroker_key() {
        return broker_key;
    }
    
    public void setBroker_key(String broker_key) {
        this.broker_key = broker_key;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("WxRegisterForm [broker_key=").append(broker_key).append(", open_id=").append(open_id)
                .append(", nick_name=").append(nick_name).append(", user_avatar=").append(user_avatar)
                .append(", mobile_tel=").append(mobile_tel).append(", auth_check_code=").append(auth_check_code)
                .append("]");
        return builder.toString();
    }
}
